package com.mall.huohuo.common.enums;

/**
 * TokenType枚举
 * @author zycoding
 */
public enum TokenTypeEnum {

    /**
     * ACCESS_TOKEN
     */
    ACCESS_TOKEN(0, "ACCESS_TOKEN"),

    /**
     * REFRESH_TOKEN
     */
    REFRESH_TOKEN(1, "REFRESH_TOKEN");

    /**
     * 值
     */
    private int value;

    /**
     * 描述
     */
    private String description;

    TokenTypeEnum(int value, String description) {
        this.value = value;
        this.description = description;
    }

    public int getValue() {
        return value;
    }

    public String getDescription() {
        return description;
    }
}
